<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Generate a source resource</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.openal-listener-set.html">openal_listener_set</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.openal-source-destroy.html">openal_source_destroy</a></div>
 <div class="up"><a href="ref.openal.html">OpenAL 函数</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="function.openal-source-create" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">openal_source_create</h1>
  <p class="verinfo">(PECL openal &gt;= 0.1.0)</p><p class="refpurpose"><span class="refname">openal_source_create</span> &mdash; <span class="dc-title">
   Generate a source resource
  </span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.openal-source-create-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="type">resource</span> <span class="methodname"><strong>openal_source_create</strong></span>
    ( <span class="methodparam">void</span>
   )</div>

 </div>

 <div class="refsect1 returnvalues" id="refsect1-function.openal-source-create-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   Returns an <a href="openal.resources.html" class="link">Open AL(Source)</a> resource on success or
   <strong><code>FALSE</code></strong> on failure.
  </p>
 </div>

 <div class="refsect1 seealso" id="refsect1-function.openal-source-create-seealso">
  <h3 class="title">参见</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"><span class="function"><a href="function.openal-source-set.html" class="function" rel="rdfs-seeAlso">openal_source_set()</a> - Set source property</span></li>
    <li class="member"><span class="function"><a href="function.openal-source-play.html" class="function" rel="rdfs-seeAlso">openal_source_play()</a> - Start playing the source</span></li>
    <li class="member"><span class="function"><a href="function.openal-source-destroy.html" class="function" rel="rdfs-seeAlso">openal_source_destroy()</a> - Destroy a source resource</span></li>
   </ul>
  </p>
 </div>

</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.openal-listener-set.html">openal_listener_set</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.openal-source-destroy.html">openal_source_destroy</a></div>
 <div class="up"><a href="ref.openal.html">OpenAL 函数</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
